import {FreeParams,Free} from './type'
import {get,post} from '../../utils/request' 
export const getList=(params:FreeParams):Promise<any> =>{

    return get("fee/list",params);
}
export const deleteAll=(ids:number[])=>{

    return post("fee/deleteall",{ids});
}
export const del=(id:number)=>{
  
    return get("fee/delete",{id});
}
export const getFeeTypeList=(params:any):Promise<any> =>{

    return get("feetype/list",{params});
}
export const add=(data:Free)=>{

    return post("fee/add",data);
}